/**/
package com.vcredit.creditcat.persistence.base;

import java.util.List;

import com.vcredit.creditcat.model.MerchantProduct;
import com.vcredit.creditcat.framework.pagination.Criteria;

public interface MerchantProductMapper {
    
  List<MerchantProduct> findByPage(Criteria criteria);
    
  Long findByPageCount(Criteria criteria);
    
  List<MerchantProduct> find(MerchantProduct merchantProduct);

  MerchantProduct findById(Long productId);

  MerchantProduct findByName(String productName);

  List<MerchantProduct> findAll();
	
  void insert(MerchantProduct MerchantProduct);
	
  void update(MerchantProduct MerchantProduct);
	
  void delete(Long productId);

}
